package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.Merchant;
import com.ruoyi.system.mapper.MerchantMapper;
import com.ruoyi.system.service.MerchantService;
import com.ruoyi.system.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MerchantServiceImpl implements MerchantService {
    @Autowired
    private MerchantMapper merchantMapper;
    @Override
    public Result add(Merchant merchant) {
        merchantMapper.addMerchant(merchant);
        return Result.success(200,"提交成功");
    }
}
